package com.smartleanx.module.hrm.controller.admin.companysystemtype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;

@Schema(description = "管理后台 - 公司制度库分类新增/修改 Request VO")
@Data
public class CompanySystemTypeSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4671")
    private Long id;

    @Schema(description = "制度分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "制度分类名称不能为空")
    private String name;

    @Schema(description = "分类编号")
    private String code;

    @Schema(description = "上级分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14082")
    @NotNull(message = "上级分类id不能为空")
    private Long parentId;


}
